import request from "@/utils/request.js";
// 获取歌手
export const getArtist = params => {
  return request({
    method: "GET",
    url: "/artist/list",
    params
  });
};
// 获取歌手单曲
export const getArtistsingle = params => {
  return request({
    method: "GET",
    url: "/artists",
    params
  });
};
// 获取歌手专辑
export const getArtistalbum = params => {
  return request({
    method: "GET",
    url: "/artist/album",
    params
  });
};
// 获取歌手专辑
export const getArtistdesc = params => {
  return request({
    method: "GET",
    url: "/artist/desc",
    params
  });
};
// 获取歌手MV
export const getArtistMv = params => {
  return request({
    method: "GET",
    url: "/artist/mv",
    params
  });
};
// 获取专辑详情
export const getAlbumdetails = params => {
  return request({
    method: "GET",
    url: "/album",
    params
  });
};
// 获取专辑评论
export const getAlbumComment = params => {
  return request({
    method: "GET",
    url: "/comment/album",
    params
  });
};
// 获取歌手排行榜
export const getToplistArtist = params => {
  return request({
    method: "GET",
    url: "/toplist/artist",
    params
  });
};
